package com.example.bootdemo01.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

//233
@RestController
public class HelloController {

    @RequestMapping("hello")
    public String hello(){
        return "你好，你好，你好!";
    }


    public String hello1(){
        return "hello1";
    }

    public String linjian(){
        return "linjian1";
    }

    @RequestMapping("hello2")
    public String hello2(){
        return "hello2,springboot!";
    }

    @RequestMapping("hellGJY")
    public String helloG(){
        return "helloGJY";
    }

    public String asdbc(){
        return "asdbc";
    }

    public String testa(){
        return "shilei";
    }
}
